package com.nanfang51g3.ckz.ui.share;

import com.nanfang51g3.ckz.utils.KLog;

import dagger.Module;
import dagger.Provides;

/**
 * dagger2 模块 通过注入View 给P层 IndexPresenter ,@Inject 标记 {@link ShareTuiPresenter }构造函数
 * {@link ShareTuiPresenter }
 */
@Module
public class ShareTuiPresenterModule {

    private final ShareTuiContract.View mview;

    public ShareTuiPresenterModule(ShareTuiContract.View view) {
        KLog.i("TAG",view==null?"进入了...PreviewMoneyInfoContract-is null":"进入了...PreviewMoneyInfoContract-not null");
        this.mview = view;
    }

    @Provides
    ShareTuiContract.View provideShareTuiContractView() {
        return mview;
    }

}
